package com.kaili.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 子单库存
 * </p>
 *
 * @author cgm
 * @since 2018-06-05
 */
@TableName("hs_ewb_sub_stock")
public class HsEwbSubStock implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 运单号
     */
    @TableField("ewb_no")
    private String ewbNo;
    /**
     * 创建时间
     */
    @TableField("created_time")
    private Date createdTime;
    /**
     * 库存网点
     */
    @TableField("site_id")
    private Integer siteId;
    /**
     * 子单号
     */
    @TableField("sub_ewb")
    private String subEwb;
    /**
     * 子单状态1:在库，2：发货在途，3：到货在途，0：无库存
     */
    private Integer status;


    public String getEwbNo() {
        return ewbNo;
    }

    public void setEwbNo(String ewbNo) {
        this.ewbNo = ewbNo;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getSiteId() {
        return siteId;
    }

    public void setSiteId(Integer siteId) {
        this.siteId = siteId;
    }

    public String getSubEwb() {
        return subEwb;
    }

    public void setSubEwb(String subEwb) {
        this.subEwb = subEwb;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "HsEwbSubStock{" +
                ", ewbNo=" + ewbNo +
                ", createdTime=" + createdTime +
                ", siteId=" + siteId +
                ", subEwb=" + subEwb +
                ", status=" + status +
                "}";
    }
}
